package com.gxnu.edu.cn.ttxxt.service;

import com.gxnu.edu.cn.ttxxt.entity.FontSettings;

import java.util.List;

public interface FontSettingService {

    FontSettings addFontSetting(Long userId, String fontFamily, Integer fontSize, String fontColor,
                                String fontWeight, String fontStyle, boolean isDefault);

    FontSettings updateFontSetting(Long fontSettingId, String fontFamily, Integer fontSize, String fontColor,
                                   String fontWeight, String fontStyle, boolean isDefault);

    void deleteFontSetting(Long fontSettingId);

    FontSettings getUserFontSettings(Long userId);

    FontSettings getDefaultFontSetting(Long userId);

    void setDefaultFontSetting(Long userId, Long fontSettingId);
}
    